Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use .spec.replicas instead to take a desired replica number #379

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

sanposhiho
Copy link
Collaborator

@sanposhiho sanposhiho commented Mar 5, 2024

What this PR does / why we need it:

Tortoise uses the replica number to generate the recommendation partly though, seems deployment.status.replicas doesn't show the expected number occasionally; given tortoise wants to know the desired number of replicas, we should use deployment.spec.replicas instead.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

@sanposhiho sanposhiho merged commit 09e8828 into main Mar 5, 2024
3 checks passed
@sanposhiho sanposhiho deleted the tortoise-replica-num branch March 5, 2024 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant